<!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
<stack>
<name>in.1 </name>
<id>-1</id>
<cardCount>5</cardCount>
<cardID>3049</cardID>
<listID>3218</listID>
<cantModify><false /></cantModify>
<cantDelete><false /></cantDelete>
<cantAbort><false /></cantAbort>
<cardSize>
<width>512</width>
<height>342</height>
</cardSize>
<script>on closeStackglobal whosThereput "Have Yourself a SUPER GOOD DAY" && whosThere && "!" into message boxdoMenu "Compact Stack"RemShow Meoshow menubarhide message boxvisual effect zoom outend closeStackon update theDateglobal whosThereask "What is your name, Please?" with field id 26put it into field id 26put it into whosThereput the long date into field id 5 of card id 3049theSchedule scheduleend updateon theSchedule scheduleset cursor to 4put empty into field id 6put empty into field id 7put empty into field id 8put empty into field id 9put empty into field id 10put empty into field id 11put empty into field id 12put empty into field id 13put empty into field id 14put empty into field id 15put empty into field id 16put empty into field id 17put empty into field id 30 --field "Links" is a hidden fieldget field id 5convert it to secondsput it into thisDayput 1 into lineNumberrepeat with x = 2 to (the number of cards)get (field id 2 of card x) --field "Date"if it is empty then next repeatconvert it to secondsif it = thisDay thenput (the id of card x) into line lineNumber of field "Links"add 1 to lineNumberget field id 47 of card x --field "My Name"if it = field id 26 of card id 3049 thenget field id 43 of card x --field "Appointment Time"put it into apptTimeget field id 1 of card x --field "ClientName"put it into temp2put the number of chars of temp2 into countCharput 34 into maxCharsubtract countChar from maxCharget field id 6 of card x --field "ApptDetails"put it into temp3put "," after char maxChar of temp3get the number of items of temp3put empty into item 2 to it of temp3put empty into last char of temp3get apptTime --a variable holding the appointment time.if it ≥ 0900 and it ≤ 0914 or it ≥ 900 and it ≤ 914¬or it = 9 thenput temp2 & "—" & temp3 into line 1 of field id 6elseif it ≥ 0915 and it ≤ 0929 or it ≥ 915 and it ≤ 929 thenput temp2 && "—" & temp3 into line 2 of field id 6elseif it ≥ 0930 and it ≤ 0944 or it ≥ 930 and it ≤ 944 thenput temp2 && "—" & temp3 into line 3 of field id 6elseif it ≥ 0945 and it ≤ 0959 or it ≥ 945 and it ≤ 959 thenput temp2 && "—" & temp3 into line 4 of field id 6elseif it ≥ 1000 and it ≤ 1014 or it = 10 thenput temp2 && "—" & temp3 into line 1 of field id 7elseif it ≥ 1015 and it ≤ 1029 thenput temp2 && "—" & temp3 into line 2 of field id 7elseif it ≥ 1030 and it ≤ 1044 thenput temp2 && "—" & temp3 into line 3 of field id 7elseif it ≥ 1045 and it ≤ 1059 thenput temp2 && "—" & temp3 into line 4 of field id 7elseif it ≥ 1100 and it ≤ 1114 or it = 11 thenput temp2 && "—" & temp3 into line 1 of field id 8elseif it ≥ 1115 and it ≤ 1129 thenput temp2 && "—" & temp3 into line 2 of field id 8elseif it ≥ 1130 and it ≤ 1144 thenput temp2 && "—" & temp3 into line 3 of field id 8elseif it ≥ 1145 and it ≤ 1159 thenput temp2 && "—" & temp3 into line 4 of field id 8elseif it ≥ 1200 and it ≤ 1214 or it = 12 thenput temp2 && "—" & temp3 into line 1 of field id 9elseif it ≥ 1215 and it ≤ 1229 thenput temp2 && "—" & temp3 into line 2 of field id 9elseif it ≥ 1230 and it ≤ 1244 thenput temp2 && "—" & temp3 into line 3 of field id 9elseif it ≥ 1245 and it ≤ 1259 thenput temp2 && "—" & temp3 into line 4 of field id 9elseif it ≥ 100 and it ≤ 114 or it ≥ 1300 and it ≤ 1314 or it = 1 thenput temp2 && "—" & temp3 into line 1 of field id 10elseif it ≥ 115 and it ≤ 129 or it ≥ 1315 and it ≤ 1329 thenput temp2 && "—" & temp3 into line 2 of field id 10elseif it ≥ 130 and it ≤ 144 or it ≥ 1330 and it ≤ 1344 thenput temp2 && "—" & temp3 into line 3 of field id 10elseif it ≥ 145 and it ≤ 159 or it ≥ 1345 and it ≤ 1359 thenput temp2 && "—" & temp3 into line 4 of field id 10elseif it ≥ 200 and it ≤ 214 or it ≥ 1400 and it ≤ 1414 or it = 2 thenput temp2 && "—" & temp3 into line 1 of field id 11elseif it ≥ 215 and it ≤ 229 or it ≥ 1415 and it ≤ 1429 thenput temp2 && "—" & temp3 into line 2 of field id 11elseif it ≥ 230 and it ≤ 244 or it ≥ 1430 and it ≤ 1444 thenput temp2 && "—" & temp3 into line 3 of field id 11elseif it ≥ 245 and it ≤ 259 or it ≥ 1445 and it ≤ 1459 thenput temp2 && "—" & temp3 into line 4 of field id 11elseif it ≥ 300 and it ≤ 314 or it ≥ 1500 and it ≤ 1514 or it = 3 thenput temp2 && "—" & temp3 into line 1 of field id 12elseif it ≥ 315 and it ≤ 329 or it ≥ 1515 and it ≤ 1529 thenput temp2 && "—" & temp3 into line 2 of field id 12elseif it ≥ 330 and it ≤ 344 or it ≥ 1530 and it ≤ 1544 thenput temp2 && "—" & temp3 into line 3 of field id 12elseif it ≥ 345 and it ≤ 359 or it ≥ 1545 and it ≤ 1559 thenput temp2 && "—" & temp3 into line 4 of field id 12elseif it ≥ 400 and it ≤ 414 or it ≥ 1600 and it ≤ 1614 or it = 4 thenput temp2 && "—" & temp3 into line 1 of field id 13elseif it ≥ 415 and it ≤ 429 or it ≥ 1615 and it ≤ 1629 thenput temp2 && "—" & temp3 into line 2 of field id 13elseif it ≥ 430 and it ≤ 444 or it ≥ 1630 and it ≤ 1644 thenput temp2 && "—" & temp3 into line 2 of field id 13elseif it ≥ 445 and it ≤ 459 or it ≥ 1645 and it ≤ 1659 thenput temp2 && "—" & temp3 into line 4 of field id 13elseif it ≥ 500 and it ≤ 514 or it ≥ 1700 and it ≤ 1714 or it = 5 thenput temp2 && "—" & temp3 into line 1 of field id 14elseif it ≥ 515 and it ≤ 529 or it ≥ 1715 and it ≤ 1729 thenput temp2 && "—" & temp3 into line 2 of field id 14elseif it ≥ 530 and it ≤ 544 or it ≥ 1730 and it ≤ 1744 thenput temp2 && "—" & temp3 into line 3 of field id 14elseif it ≥ 545 and it ≤ 559 or it ≥ 1745 and it ≤ 1759 thenput temp2 && "—" & temp3 into line 4 of field id 14elseif it ≥ 600 and it ≤ 614 or it ≥ 1800 and it ≤ 1814 or it = 6 thenput temp2 && "—" & temp3 into line 1 of field id 15elseif it ≥ 615 and it ≤ 629 or it ≥ 1815 and it ≤ 1829 thenput temp2 && "—" & temp3 into line 2 of field id 15elseif it ≥ 630 and it ≤ 644 or it ≥ 1830 and it ≤ 1844 thenput temp2 && "—" & temp3 into line 3 of field id 15elseif it ≥ 645 and it ≤ 659 or it ≥ 1845 and it ≤ 1859 thenput temp2 && "—" & temp3 into line 4 of field id 15elseif it ≥ 700 and it ≤ 714 or it ≥ 1900 and it ≤ 1914 or it = 7 thenput temp2 && "—" & temp3 into line 1 of field id 16elseif it ≥ 715 and it ≤ 729 or it ≥ 1915 and it ≤ 1929 thenput temp2 && "—" & temp3 into line 2 of field id 16elseif it ≥ 730 and it ≤ 744 or it ≥ 1930 and it ≤ 1944 thenput temp2 && "—" & temp3 into line 3 of field id 16elseif it ≥ 745 and it ≤ 759 or it ≥ 1945 and it ≤ 1959 thenput temp2 &&"—" & temp3 into line 4 of field id 16elseif it ≥ 800 and it ≤ 814 or it ≥ 2000 and it ≤ 2014 or it = 8 thenput temp2 && "—" & temp3 into line 1 of field id 17elseif it ≥ 815 and it ≤ 829 or it ≥ 2015 and it ≤ 2029 thenput temp2 && "—" & temp3 into line 2 of field id 17elsei